fixed wrong call to non-existing enabled()