loose type checking on split_extended option, changed code format to match existing