fix histogram range bug