fix a type in the package module