fix blob creation of error message