align middle, patches #27