correct the modal