fixing verification of keysource