fixing modals