change style to reference keep geometry and layout