fix option passing.