Fix callback not being called