fix http output