bug fix to xl