check class multiply defined.