refactoring getter/setters for package action.index #2657