fix bad memory read
Merge branch 'add_testing' of https://github.com/judajake/RGG into add_testing