bug fix for hidden file and when no-path in config