fixed downcase bug