fix for path in token input code