fixes errant downcasing