fix bug in proj_apply_submit2