Problem to reset form when data initialised with nil