fix bug, and add a function : stay