use proper globbing pattern for subdirectories