fixed error on documented generator