fixing tutorial issues