Fix request headers issues