clean up and fixed deleting of www