html changes and http fixes