fix registration api 2