disable deprecated class check