if you mean it seems to have stopped counting the joins, ensure that you don't have another script that uses that variable. If you do, that would be the reason why the %joins counter doesn't appear to be working correctly.