fixed caption bug