wrong return type in attributetable