Release build

minor bug fix with wrong final stage set after worm generation