Bugfix in case of process error.