fixes to bugs found when deploying to demosite