add a failsafe