correct a note on a helper function
remove a unused object