Fixed bug: cannot keep flash session problem