Correcting couple error messages