Small bug in instance template