minor layout bug fixes