fixed problem with the client IP address retrieval