[PLUGIN] improve data function

and fix title option