resize + translate bug fized