http bug fixed