Added error message when trying to use histogram