fixing allow extract key