bug fix of downcase