Fix bug is sessions helper