fixed modal issue