https to http error fix