make split working for * and srm