67 check mount when setting state

Fixes #67