Fixed bad references
Merge branch 'master' into demo