Set initial value of fields correctly.