bugfix: fix bad return to retry