retain layout and geometry