Fix path variable issue