fixed sample 21 callback