fix for error helpers/helper.php, issue #172

fix for error helpers/helper.php, issue #172