fix the release problem of registered  GameObject