small bug fixed @ extract()