fix the Instance problem