nil error check in state=
Version 0.2.14