found error on knapsack