improve layout for two uses of advanced partial