some ie bugs plus tidying