fix callback syntax