fixed some issues with rendering in IE