fix forms legend fields