fixed a couple lines, seemed to be missing from a tutorial.