fix bug and update css