add missing \n to error message