stupid bug crept in somehow, failed to pass name of attribute