fixing unless command