fix bug that is modal not display