fix for AutoAPI