finally fixed options issue