fix naming and condition
fix naming and condition

andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler,andystanton/euler