fix minor layout bugs