revert :max_tries to :tries