add checking process after drawing polygon #88