BUGFIX get param attribute refactoring