prevent lockup