Fixed incorrect options passing.