reset pass fix
change groupCode function