change scope from col to row