fix get to handle function ids