fixed demographics form
Merge pull request #46 from antonow/more-bug-fixes

fixed demographics form