changed the config hash key for toppath from empty string to toppath