Fixed issue #1 : clean up empty resource directory