fixed problem with quantized dwt