fix: change in sanitize make some undefined prop type check crash