IE support and errors fixeds