fixed bug in extract for eeglab