fix for keys without alg