added wmb_typetostr