fixed spurious error message