fixed disabling demo
 #89 - cleaned up pull request