Repaired Error: Future resolved more than once