fixed drone id was wrong type
used wrong variable to check for clear sessions on startup