fixed http redirect