fixed logical / language mistake (thanks to Kyle Thomas)