fixed http validation