Try to fix the Class doesn't support automation issue