fixed show hide button and remove polygon