adding a deactivate style function for remote admin