Fix path length issues