delete unnecessary alarm codes when auth