fix issue #123

see https://github.com/mxcl/PromiseKit/issues/123