fixed lti example code