fixed issue on machines without AD