trying to fix ie compatibility

still a lot of fixs to do