fixed some form field issues