bug fix for DefaultMessagePathBuilder