preventing digest already in progress error