WFLY-2533 - fix parser