renamed error messages in uploading key