fixing modal, i believe