fix conditional check for options.broker existance