20141121 add flee, idle logic