Fix ie class bug, and fix #52.