fixed bug with stretch