fix medianfliterdehazor's bug