keep resource directory