fixed araqne/issue#345. fixed class cast exception