Nest callback to avoid possible async issues