work out some IE bugs