Fix wrong syntax (the except catches 2 exceptions + doesn't need `as`)