some block bug fix