fixed isRelease predicate