Fixes code execution on remote side