refactor handleDisable and handleEnable