attempting to fix the modal