fixed failing just_poly tests