Fix an error and path dependency in the pubspec