Fixed tutorial bugs