minor documentation example fix

applies to master & 1.2