config is not passed to callback anymore