fix w3 stuff