assure correct directory