change to reference keep geometry window sizes