disable index for empty directories