check slot type as branch
remove unnecessary checking since there is guard node