error messages almost fixed