fixed display issue in selectionDir