replace callback argument $moment with t