fixed formfields bug