fix resolver's resolve method: accept callback calls resolve, not accept