fix buggy ) in hist width calc