minor changes to key initializations