fix inconsistent device naming in library