fixed http issues