Plugin package main bug fixed