fix http issue