rename some function in PYResource