removed usage of preg_replace eval modifier