fix a critical bug in belongs to