Fixing incorrect option type