fixed http check