fixed opts passing