Fixed options

Options was not working correctly.