Prevents crashing on reattempts