fixing issue 23, error introduced by call of configure_keys in base.__init__