fix for new version of leetcode
do not skip empty dir