n+1 try to fix keyGen Problem