Added fix long sessions