solve layout issue