encode error fixed, we, wk removed