Fixing deleted var