fixes #27 - bug with no contents after session refresh