fixed humanize function

Just a small fix for the humanize function, since ^ is a binary operator.