bug fix for folder path output