fix modal type