Update helpers.php

changes e helper method to more predictable behavior.