FIX: unintended assignment to ValueError