fixed polygon issue again