fix extract_list for hhvm alternate function