fix two css bugs