fix `value` attribute rendering