resolve layout issue