Removed directory override for debug.
Fixed a bug in humanize function.