bugfix in code integration tutorial