Fix errors after numerics reform