Got rid of string in error handler