bugfix for sharpness