bugfix where we were referencing non existent attribute