Fix inplace execution