fix failures on first loading ("web")