fix https to work