fix polynomial