fixes for ie 7 bug