bugfix for error creation