fix block capture