fixed bug causing datastore to be broken when output is off