removed harmfull destroySession