draw polygon fix 1