just some minor fixes I made during the tutorial