fix sharpenImage()