fix caption renderer