fixed tmp_poly in ccmp