Missplaced callback call