polygon fix + open library