Wp 1251 fix errcb handling