fixed order of session declarations