fix extract and extract configuration