fixing mixed content