error messages fixed