fixes modal, charts