made reset_session actually do that