change key.id to key.issue_id