fix registration minor issue