Tutorial with few bug and some other error