fixed session not clearing between restarts