code example fix