fix http check