try to fix some errors