bugfix in the retry of the main recipe