Commented out some code that generated undefined error msg.