fixed select, added barcodescanner