fixed widget display issue