find some errors. to fix it