api callback notation fixed