fix macro in sys-niagra