fixed preg_match issue