better folder check