fixed error with width