refactor(resource): cleaning up resource