Fix a bug causing admin not to fill up the data fields