fixed some bugs and extractor box