add v5r4 compatibility