Fix: error coding