fix layout, IE related bugs