IE fix, this closes #33