Fixes monkey runtime

Fixes #7068