Fixed bug that did not pull all attributes