fix force https redirect