recompile and correct error