[RJA-1814][fix] null pointer if no access to genesis
[RJA-1819][fix] lovely bug
Merge pull request #848 from bugzmanov/master

major bugs