make subdirs work