removed usage of a deprecated class