fixing the modal