Fix code example creation