ext attribute was not being initialized properly