clean up some 'clear points' code