fixed resize pruning