[CRITICAL] Specify returning of generated keys before using them

This is a herp derp fix