Fixed a tiny buglet. Improved error feedback message.