check if table exists, before trying to drop