fix /e is deprecated for Preg