Prevent double enable/disable