corrected restart bug on sha1 entity