Fixbug: get last session methods