fix #40 registering promise might require a revision