fixed another bug in degree 3 curve