small changes on distribution comparison