setOptions Method Fix

setOptions Method fix