Fix pb with dirty.