Fixed bug spamming http headers