update for failed generate issue