fixed edge case in all path like variables but pather