Got rid of undefined in error message.