modify select_all, add where
fix bug
contract page