fix $pkg.syntax