fix bug when opening new dataset, it checks first in the same directory