Corrected error on Extract