Fix issue #65 update newKeys array