fix bag with real width and height