fix bug #44 - missed property $$state of promise