fixed some CSS bugs