Fix typo and remove logging