figuring out ie8 bug