fixed UI layout problem