css and minor bugs