remove all enable/disable related code