removed malplaced promise return