fix #166 (warning: split(x,y,k::Bool) is deprecated)