Fix execution of code