Remove prints and fix a typo