correct issue when file not in root folder