Fix to the caption utilities problem

@sefk @jrbl