fix management of polynomial