Fix typo and speculative warning