update css, fix print function