fixed bug in which ext was not scanned for bad characters