add new condition for ps version1.4 after add attribute lang and add one new function