sanitizing belongtos, fixing a bug introduced earlier