little bug when generate form with assigned validation groups