fixes modal