fixed bad callback call