fix save blob logic error