Fixed failsafe bug.