fix pacs_pull bug