fixed return with many terms