fixed the package errors