fixed bug with width