add function:go up,go left,and prevent unstop_loop