id secret check fix