fixed some IE bugs