modals fix and load path to deploy