fixed bug in visiblity of private_key, public_key and server_api.
fixed typo.