Please use italicTag[0] here instead of head[0][0].