avoiding b2g references