fixing some bugs with splits (ratios and empty positions)