fixed bug with self hit and groups