Fixed variable error into register_rsa file