check codes of s2gp