edit ResourceHelper.java