fix bug for ww_user_from pretreatment data