fixed null check for GetCurrentStake