Fix bug flash session