fix css bug and js bug