Fixed template error with rga sys definition