Fix paths. Paths are registered in both globals and application instance.