Fix some bugs. Css styles