Fixed Class Cast Exception #1