fix generators errors upon return
build