fixed inconsistency with spec and the example