fixed server crash if passed empty point list