fixing issue with downcasing