Changed attribute name to avoid IndexError string not matched error