Fix bug with enable.