fixes.. thing now also marked invalid on emitting error