fixing mixed content warning