remove period from error message