err object should be 1st argument in callbacks.