ip2location, realip, logs fix