fix spring batch flow failing