fixed tutorial bugs