snake bugfix