fixing wrong paths for production mode.