remove unnecessary digest