Guard against potentially unset attribute, change attribute details