Fixed wrongfully used option value instead of injected value