fixes code example type