fix code example error