Fix missing require clause and a typo