Fixing bug generated by wti