https -> http , template fixes