Fixed bugs.
Fixed bugs with IE.