ensure type and id dont pass down