fixed multiple snake bug