remove unused props.