Fixed translating for errors