fix missings opts error