style: fix an old style `raise` and an old comment