set empty select to null for saveData