fix bug form snake