bugfix getAVRID fails