Try to solve error of modal