add search action and resolve the bug of list action