work on references empty string to null migration