remove console.log debug
make sure workspace exists before trying to delete it or show a message