finish compilation