fix not passing options