fix unblock code