fixed bug with length