removed NA from WB.format function