fix the instance tags setting