correct handling of detail obj. remove deprecated printAvailable check.