fix polynomial return type
tks assaad :-)