fixed edit form field bug in categories