fix to main plot for polygon id