Clean up and edit error message.