Fix resource directory