move _.before gc conditional to a single line