Modified some errors