use proper Code type for eval calls