fixed missing median filter ifdef