fixing white space and removing message