fixed a broken conditional, should work now.