fix the modal