chi sq xlim fix