Fix for preg_replace_callback change