Small tweaks in Helper.php (thanks @alexkazik)