fix remote ip See merge request !96
fix startsWith bug See merge request !95
fix remote ip See merge request !94