change style to reference style keep geometry