replace const in Perspective Lens