check result length before returnig single valued attr added