trying to make it work for IE