debug block and unblock