fix functor printing