fixing pem file path