fixed null polygon coordinate bug