fixed a keygen error