Fixed a bug inside an helper.