fixed user ip bug