update css and fix bugs.