dir may not be there at startup