fixing minor layout bugs