try to get the right runtime id