Fixed split error so that multiple version are dealt with better