css with minor bugs