Fix form labels generation