fixed bug with tail