fixed bug in quotemeta() patch (was applied to the wrong variable) :)