change mode to 777
modify getList by state