Fixing invalid closure on sender() method