pack checking works not properly