fixes to snake-game