fixing some issues with http stuff