check for useless subdirs