bugfix: wrong number of arguments when calling check. assume group parameter is nil when not provided