Fix recent splitn API break