Change NULL to empty string in createRecord