add "id" in promise
small fix