2014-06-13 23:10 : fix some bugs in fg command