only try and lowercase things if they are text