fix error from tut