removing extractMode

removing extractMode parameter