fixed issues with transition from pending to failed state