Fix pb in equals