fixing histogram png