remove deprecated crate definitions
string indexing no longer allowed in rust