fix for local form count