fix https template