fix pin config an add custom package