prepare for config edit form