fix exception name

`valueError` should be `ValueError`