It's likely that somewhere in one of those functions a 1 is being printed.
Search for print/echo in the geoip functions, it's a stab in the dark, but I'd like to guess that it is echoing a boolean.
When you said "When i remove geopip code then it shows result like belo"w
This should give you a clue that the echo is coming from the geoip code, try commenting out the functions one by one to figure out which function is causing it.