Prevent action from being overwritten in closure