switch to lowercase, and make execption safe