remove deprecated constructor calls