fix errors found when presentation