modify compile errors