improve data generator
finish search page and its background function