[runtime] Fix the errors in edb931dfb9741660fefe73528c503b17e1341f4d so it actually works.