fixed qt layout error