Fixed bug with RGA substitution file