fix improper placement of downcase method