Remove unneeded var from ensure