fixed type extraction for private classes. added reevaluating latest expression