fix http over 400
fix console bug
fix segment fault