fix base curve mismatching