fixed error when latest generation does not draw