sessions name parsing improved