Fix http check


Fix #1194 
Fix #1195