fix extra import paths from subdirectories