remove duplicate auth code