made error messages show up on client