support changing back to http too