fix the layout, fixes #279