Revert "add res name and some other change"

This reverts commit a1bd9c30fc88c97069672b5ccffeb599b2707232.