Corrected bug with otpions