[misc] Fixed wrong variable used
[misc] Added missing runtime dependency