cheatsheet: fix bugs reported on github.