fix width problem by differentiating between widthx and widthy