Update helpers.php

For HHVM compatible