fixed some w3 problems