fixed funny snake bug