Fix Assert API as same as master repo.'s