1.0.1 fixed opts input