fix empty session