hotfix - getquery returns array calls undef select