Fixed bug with width>1