complete batch after wrongly assigned state
Merge pull request #15 from neilsycamore/master

complete batch after wrongly assigned state