block bug fix