fixed snake tail behavior