fix condition of unless