fixed unsealing bug