save hash-check for server also