fix long in functor example