fixing relation modals