find some bug

find some bug
update

for support like 'ctrl p'