add ability to filter out refs in inputs