Fix bug  when options plugin is null