bug fixes and style change for IE.