logic fix and prepare fox next relay