Fix remote kernel