fixed deactivation/activation via search