removing `.` in error message