fix for certain mobile browsers where hidden branches were validated