fix bugs: 1. skip selectedStatus of Field when dump; 2. String.Replace
handle null replacement parameter.