new_scalar_sv to new_scalar, new_scalar_pv to new_scalar