caption bug fix