Fixed PackageGateway Errors