fixed enpoint to HTTPS