fix for x-agent inconsistencies