fixed promise multiple completion issue, that was not the real issue