getting rid of some error messages