Fix many bugs
Merge branch 'master' of https://github.com/ms-gns/petitions