fixed issues with local paths