Fixed Saving the filtered image