added error(), fixing broken error res' and uuid count