fix stand alone histogram