add reactivity to errormessages