fix some CSS/html and some event bind issues