changed dev->enable to dev->enabled. Sorry, I am the only one who can't speak