fix nested eval bug