add argument checks to dim filters