Remove extra newline from error messaging