fix the active directory so it is just a property externally