correction for tutorial docs code