Update helper.php

Fixed complaints reported by Travis