fix object construct error