Fixed bug so enable always sends an integer.