add home view segment Action
fixed a bug of segment
modify some code