remove reliance of attribute 'ANY' records