Bug fix with ip lenght