fix img caption formatting