fix preg_replace() /e modifier is now deprecated in PHP 5.5