random fixes

the type coercions were incomplete and the `GetPath` implementation
was unnecessary...