Fixed a bug with request IP