fixed lookup of internal classes error