fixed resolveImmediate
updated readme