Solve bug when the minor plugin string is empty