fixed generating DSA key