fix: use values returned by attribute setter methods