Add missing variable db